//
//  AppListModel.m
//  LimitFree
//
//  Created by lijinghua on 16/3/1.
//  Copyright © 2016年 lijinghua. All rights reserved.
//

#import "AppListModel.h"

@implementation AppListModel


+ (JSONKeyMapper*)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{@"description":@"appDescription"}];
}


+ (NSArray*)parseRespondsData:(NSDictionary*)dictionary{
    NSMutableArray *resultArray = [NSMutableArray array];
    NSArray *respondArray = dictionary[@"applications"];
    for (NSDictionary *modelDic in respondArray) {
        AppListModel *model = [[AppListModel alloc]initWithDictionary:modelDic error:nil];
        [resultArray addObject:model];
    }
    return resultArray;
}
@end
